<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>jld.backup.delicious_backup</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="jld-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="jld-module.html">Package&nbsp;jld</a> ::
        <a href="jld.backup-module.html">Package&nbsp;backup</a> ::
        Module&nbsp;delicious_backup
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="jld.backup.delicious_backup-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="jld.backup.delicious_backup-module.html">Module jld.backup.delicious_backup</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-docstring">""" Backup for Delicious bookmarks</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt id="link-0" class="py-name" targets="Variable jld.__author__=jld-module.html#__author__,Variable jld.api.__author__=jld.api-module.html#__author__,Variable jld.api.delicious.__author__=jld.api.delicious-module.html#__author__,Variable jld.api.delicious_objects.__author__=jld.api.delicious_objects-module.html#__author__,Variable jld.api.gliffy.__author__=jld.api.gliffy-module.html#__author__,Variable jld.backup.delicious.__author__=jld.backup.delicious-module.html#__author__,Variable jld.backup.delicious_db.__author__=jld.backup.delicious_db-module.html#__author__,Variable jld.backup.delicious_defaults.__author__=jld.backup.delicious_defaults-module.html#__author__,Variable jld.backup.delicious_printer.__author__=jld.backup.delicious_printer-module.html#__author__,Variable jld.backup.delicious_ui.__author__=jld.backup.delicious_ui-module.html#__author__,Variable jld.backup.gliffy.__author__=jld.backup.gliffy-module.html#__author__,Variable jld.backup.gliffy_db.__author__=jld.backup.gliffy_db-module.html#__author__,Variable jld.backup.gliffy_defaults.__author__=jld.backup.gliffy_defaults-module.html#__author__,Variable jld.backup.gliffy_printer.__author__=jld.backup.gliffy_printer-module.html#__author__,Variable jld.backup.gliffy_ui.__author__=jld.backup.gliffy_ui-module.html#__author__,Variable jld.backup.mindmeister_db.__author__=jld.backup.mindmeister_db-module.html#__author__,Variable jld.backup.mindmeister_defaults.__author__=jld.backup.mindmeister_defaults-module.html#__author__,Variable jld.backup.mindmeister_printer.__author__=jld.backup.mindmeister_printer-module.html#__author__,Variable jld.backup.mindmeister_ui.__author__=jld.backup.mindmeister_ui-module.html#__author__,Variable jld.backup.mmd.__author__=jld.backup.mmd-module.html#__author__,Variable jld.cmd.__author__=jld.cmd-module.html#__author__,Variable jld.cmd.pypre.__author__=jld.cmd.pypre-module.html#__author__,Variable jld.gdata.docs.__author__=jld.gdata.docs-module.html#__author__,Variable jld.template.__author__=jld.template-module.html#__author__,Variable jld.tools.cmd_ui.__author__=jld.tools.cmd_ui-module.html#__author__,Variable jld.tools.daemon.__author__=jld.tools.daemon-module.html#__author__,Variable jld.tools.date.__author__=jld.tools.date-module.html#__author__,Variable jld.tools.db.__author__=jld.tools.db-module.html#__author__,Variable jld.tools.debug.__author__=jld.tools.debug-module.html#__author__,Variable jld.tools.klass.__author__=jld.tools.klass-module.html#__author__,Variable jld.tools.logger.__author__=jld.tools.logger-module.html#__author__,Variable jld.tools.mos.__author__=jld.tools.mos-module.html#__author__,Variable jld.tools.printer.__author__=jld.tools.printer-module.html#__author__,Variable jld.tools.process.__author__=jld.tools.process-module.html#__author__"><a title="jld.__author__
jld.api.__author__
jld.api.delicious.__author__
jld.api.delicious_objects.__author__
jld.api.gliffy.__author__
jld.backup.delicious.__author__
jld.backup.delicious_db.__author__
jld.backup.delicious_defaults.__author__
jld.backup.delicious_printer.__author__
jld.backup.delicious_ui.__author__
jld.backup.gliffy.__author__
jld.backup.gliffy_db.__author__
jld.backup.gliffy_defaults.__author__
jld.backup.gliffy_printer.__author__
jld.backup.gliffy_ui.__author__
jld.backup.mindmeister_db.__author__
jld.backup.mindmeister_defaults.__author__
jld.backup.mindmeister_printer.__author__
jld.backup.mindmeister_ui.__author__
jld.backup.mmd.__author__
jld.cmd.__author__
jld.cmd.pypre.__author__
jld.gdata.docs.__author__
jld.template.__author__
jld.tools.cmd_ui.__author__
jld.tools.daemon.__author__
jld.tools.date.__author__
jld.tools.db.__author__
jld.tools.debug.__author__
jld.tools.klass.__author__
jld.tools.logger.__author__
jld.tools.mos.__author__
jld.tools.printer.__author__
jld.tools.process.__author__" class="py-name" href="#" onclick="return doclink('link-0', '__author__', 'link-0');">__author__</a></tt>  <tt class="py-op">=</tt> <tt class="py-string">"Jean-Lou Dupont"</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-string">"$Id: jld.backup.delicious_backup-pysrc.html 776 2009-01-07 03:14:20Z JeanLou.Dupont $"</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt id="link-1" class="py-name" targets="Variable jld.backup.delicious_backup.__msgs__=jld.backup.delicious_backup-module.html#__msgs__,Variable jld.backup.delicious_printer.__msgs__=jld.backup.delicious_printer-module.html#__msgs__,Variable jld.backup.gliffy_backup.__msgs__=jld.backup.gliffy_backup-module.html#__msgs__,Variable jld.backup.mindmeister_backup.__msgs__=jld.backup.mindmeister_backup-module.html#__msgs__,Variable jld.backup.mindmeister_printer.__msgs__=jld.backup.mindmeister_printer-module.html#__msgs__,Variable jld.tools.cmd_ui.__msgs__=jld.tools.cmd_ui-module.html#__msgs__"><a title="jld.backup.delicious_backup.__msgs__
jld.backup.delicious_printer.__msgs__
jld.backup.gliffy_backup.__msgs__
jld.backup.mindmeister_backup.__msgs__
jld.backup.mindmeister_printer.__msgs__
jld.tools.cmd_ui.__msgs__" class="py-name" href="#" onclick="return doclink('link-1', '__msgs__', 'link-1');">__msgs__</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">'error_init_folder'</tt><tt class="py-op">,</tt> <tt class="py-string">'error_create_folder'</tt><tt class="py-op">,</tt> <tt class="py-string">'error_cant_write'</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">sys</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">datetime</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">urllib2</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">stat</tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-2" class="py-name" targets="Package jld=jld-module.html"><a title="jld" class="py-name" href="#" onclick="return doclink('link-2', 'jld', 'link-2');">jld</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Package jld.api=jld.api-module.html"><a title="jld.api" class="py-name" href="#" onclick="return doclink('link-3', 'api', 'link-3');">api</a></tt> <tt class="py-keyword">as</tt> <tt id="link-4" class="py-name"><a title="jld.api" class="py-name" href="#" onclick="return doclink('link-4', 'api', 'link-3');">api</a></tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-keyword">from</tt>   <tt id="link-5" class="py-name"><a title="jld" class="py-name" href="#" onclick="return doclink('link-5', 'jld', 'link-2');">jld</a></tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Package jld.cmd=jld.cmd-module.html"><a title="jld.cmd" class="py-name" href="#" onclick="return doclink('link-6', 'cmd', 'link-6');">cmd</a></tt> <tt class="py-keyword">import</tt> <tt id="link-7" class="py-name" targets="Class jld.cmd.BaseCmd=jld.cmd.BaseCmd-class.html"><a title="jld.cmd.BaseCmd" class="py-name" href="#" onclick="return doclink('link-7', 'BaseCmd', 'link-7');">BaseCmd</a></tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-8" class="py-name"><a title="jld" class="py-name" href="#" onclick="return doclink('link-8', 'jld', 'link-2');">jld</a></tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Package jld.registry=jld.registry-module.html"><a title="jld.registry" class="py-name" href="#" onclick="return doclink('link-9', 'registry', 'link-9');">registry</a></tt> <tt class="py-keyword">as</tt> <tt id="link-10" class="py-name" targets="Variable jld.registry.Registry.reg=jld.registry.Registry-class.html#reg"><a title="jld.registry.Registry.reg" class="py-name" href="#" onclick="return doclink('link-10', 'reg', 'link-10');">reg</a></tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-11" class="py-name"><a title="jld" class="py-name" href="#" onclick="return doclink('link-11', 'jld', 'link-2');">jld</a></tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Package jld.tools=jld.tools-module.html"><a title="jld.tools" class="py-name" href="#" onclick="return doclink('link-12', 'tools', 'link-12');">tools</a></tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Module jld.tools.mos=jld.tools.mos-module.html"><a title="jld.tools.mos" class="py-name" href="#" onclick="return doclink('link-13', 'mos', 'link-13');">mos</a></tt> <tt class="py-keyword">as</tt> <tt id="link-14" class="py-name"><a title="jld.tools.mos" class="py-name" href="#" onclick="return doclink('link-14', 'mos', 'link-13');">mos</a></tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-15" class="py-name"><a title="jld" class="py-name" href="#" onclick="return doclink('link-15', 'jld', 'link-2');">jld</a></tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="jld.api" class="py-name" href="#" onclick="return doclink('link-16', 'api', 'link-3');">api</a></tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Module jld.api.delicious=jld.api.delicious-module.html,Module jld.backup.delicious=jld.backup.delicious-module.html"><a title="jld.api.delicious
jld.backup.delicious" class="py-name" href="#" onclick="return doclink('link-17', 'delicious', 'link-17');">delicious</a></tt> <tt class="py-keyword">as</tt> <tt class="py-name">dlc</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-18" class="py-name"><a title="jld" class="py-name" href="#" onclick="return doclink('link-18', 'jld', 'link-2');">jld</a></tt><tt class="py-op">.</tt><tt id="link-19" class="py-name" targets="Package jld.backup=jld.backup-module.html"><a title="jld.backup" class="py-name" href="#" onclick="return doclink('link-19', 'backup', 'link-19');">backup</a></tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Module jld.backup.delicious_messages=jld.backup.delicious_messages-module.html"><a title="jld.backup.delicious_messages" class="py-name" href="#" onclick="return doclink('link-20', 'delicious_messages', 'link-20');">delicious_messages</a></tt> <tt class="py-keyword">as</tt> <tt class="py-name">msg</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-21" class="py-name"><a title="jld" class="py-name" href="#" onclick="return doclink('link-21', 'jld', 'link-2');">jld</a></tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="jld.backup" class="py-name" href="#" onclick="return doclink('link-22', 'backup', 'link-19');">backup</a></tt><tt class="py-op">.</tt><tt id="link-23" class="py-name" targets="Module jld.backup.delicious_printer=jld.backup.delicious_printer-module.html"><a title="jld.backup.delicious_printer" class="py-name" href="#" onclick="return doclink('link-23', 'delicious_printer', 'link-23');">delicious_printer</a></tt> <tt class="py-keyword">as</tt> <tt id="link-24" class="py-name" targets="Module jld.tools.printer=jld.tools.printer-module.html"><a title="jld.tools.printer" class="py-name" href="#" onclick="return doclink('link-24', 'printer', 'link-24');">printer</a></tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-25" class="py-name"><a title="jld" class="py-name" href="#" onclick="return doclink('link-25', 'jld', 'link-2');">jld</a></tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="jld.backup" class="py-name" href="#" onclick="return doclink('link-26', 'backup', 'link-19');">backup</a></tt><tt class="py-op">.</tt><tt id="link-27" class="py-name" targets="Module jld.backup.delicious_db=jld.backup.delicious_db-module.html"><a title="jld.backup.delicious_db" class="py-name" href="#" onclick="return doclink('link-27', 'delicious_db', 'link-27');">delicious_db</a></tt> <tt class="py-keyword">as</tt> <tt id="link-28" class="py-name" targets="Module jld.tools.db=jld.tools.db-module.html"><a title="jld.tools.db" class="py-name" href="#" onclick="return doclink('link-28', 'db', 'link-28');">db</a></tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-comment"># ========================================================================================</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="Backup"></a><div id="Backup-def"><a name="L29"></a><tt class="py-lineno"> 29</tt> <a class="py-toggle" href="#" id="Backup-toggle" onclick="return toggle('Backup');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html">Backup</a><tt class="py-op">(</tt><tt class="py-base-class">BaseCmd</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Backup-expanded"><a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">    <tt class="py-docstring">"""Delicious Backup class</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">    <tt id="link-29" class="py-name" targets="Variable jld.backup.delicious_backup.Backup._regDomain=jld.backup.delicious_backup.Backup-class.html#_regDomain,Variable jld.backup.gliffy_backup.Backup._regDomain=jld.backup.gliffy_backup.Backup-class.html#_regDomain,Variable jld.backup.mindmeister_backup.Backup._regDomain=jld.backup.mindmeister_backup.Backup-class.html#_regDomain"><a title="jld.backup.delicious_backup.Backup._regDomain
jld.backup.gliffy_backup.Backup._regDomain
jld.backup.mindmeister_backup.Backup._regDomain" class="py-name" href="#" onclick="return doclink('link-29', '_regDomain', 'link-29');">_regDomain</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'delicious'</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">     </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">    <tt class="py-comment"># configuration parameters expected from the Delicious command-line ui</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-comment"># used also by the Printer</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt id="link-30" class="py-name" targets="Variable jld.backup.delicious_backup.Backup._configParams=jld.backup.delicious_backup.Backup-class.html#_configParams,Variable jld.backup.gliffy_backup.Backup._configParams=jld.backup.gliffy_backup.Backup-class.html#_configParams,Variable jld.backup.mindmeister_backup.Backup._configParams=jld.backup.mindmeister_backup.Backup-class.html#_configParams"><a title="jld.backup.delicious_backup.Backup._configParams
jld.backup.gliffy_backup.Backup._configParams
jld.backup.mindmeister_backup.Backup._configParams" class="py-name" href="#" onclick="return doclink('link-30', '_configParams', 'link-30');">_configParams</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">'username'</tt><tt class="py-op">,</tt> <tt class="py-string">'password'</tt><tt class="py-op">,</tt> <tt class="py-string">'db_path'</tt><tt class="py-op">]</tt> <tt class="py-comment">#'export_path', 'export_maxnum', 'db_path']</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">     </tt>
<a name="Backup.__init__"></a><div id="Backup.__init__-def"><a name="L38"></a><tt class="py-lineno"> 38</tt> <a class="py-toggle" href="#" id="Backup.__init__-toggle" onclick="return toggle('Backup.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup.__init__-expanded"><a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">        <tt id="link-31" class="py-name"><a title="jld.cmd.BaseCmd" class="py-name" href="#" onclick="return doclink('link-31', 'BaseCmd', 'link-7');">BaseCmd</a></tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Method jld.api.ErrorGeneric.__init__()=jld.api.ErrorGeneric-class.html#__init__,Method jld.api.delicious.Api.__init__()=jld.api.delicious.Api-class.html#__init__,Method jld.api.delicious.Client.__init__()=jld.api.delicious.Client-class.html#__init__,Method jld.api.delicious.Waiter.__init__()=jld.api.delicious.Waiter-class.html#__init__,Method jld.api.mindmeister.MM.__init__()=jld.api.mindmeister.MM-class.html#__init__,Method jld.api.mindmeister.MM_Client.__init__()=jld.api.mindmeister.MM_Client-class.html#__init__,Method jld.api.mindmeister_response.MM_ResponseBase.__init__()=jld.api.mindmeister_response.MM_ResponseBase-class.html#__init__,Method jld.api.mindmeister_response.MM_ResponseBasic.__init__()=jld.api.mindmeister_response.MM_ResponseBasic-class.html#__init__,Method jld.api.mindmeister_response.MM_Response_getAuthToken.__init__()=jld.api.mindmeister_response.MM_Response_getAuthToken-class.html#__init__,Method jld.api.mindmeister_response.MM_Response_getFrob.__init__()=jld.api.mindmeister_response.MM_Response_getFrob-class.html#__init__,Method jld.api.mindmeister_response.MM_Response_getList.__init__()=jld.api.mindmeister_response.MM_Response_getList-class.html#__init__,Method jld.api.mindmeister_response.MM_Response_getMapExport.__init__()=jld.api.mindmeister_response.MM_Response_getMapExport-class.html#__init__,Method jld.backup.delicious_backup.Backup.__init__()=jld.backup.delicious_backup.Backup-class.html#__init__,Method jld.backup.delicious_db.Db.__init__()=jld.backup.delicious_db.Db-class.html#__init__,Method jld.backup.delicious_defaults.Delicious_Defaults.__init__()=jld.backup.delicious_defaults.Delicious_Defaults-class.html#__init__,Method jld.backup.delicious_messages.Delicious_Messages.__init__()=jld.backup.delicious_messages.Delicious_Messages-class.html#__init__,Method jld.backup.delicious_printer.Delicious_Printer.__init__()=jld.backup.delicious_printer.Delicious_Printer-class.html#__init__,Method jld.backup.delicious_printer.Delicious_Printer_Config.__init__()=jld.backup.delicious_printer.Delicious_Printer_Config-class.html#__init__,Method jld.backup.delicious_printer.Delicious_Printer_Posts.__init__()=jld.backup.delicious_printer.Delicious_Printer_Posts-class.html#__init__,Method jld.backup.gliffy_backup.Backup.__init__()=jld.backup.gliffy_backup.Backup-class.html#__init__,Method jld.backup.gliffy_db.Db.__init__()=jld.backup.gliffy_db.Db-class.html#__init__,Method jld.backup.gliffy_defaults.Gliffy_Defaults.__init__()=jld.backup.gliffy_defaults.Gliffy_Defaults-class.html#__init__,Method jld.backup.gliffy_messages.Gliffy_Messages.__init__()=jld.backup.gliffy_messages.Gliffy_Messages-class.html#__init__,Method jld.backup.gliffy_printer.Gliffy_Printer.__init__()=jld.backup.gliffy_printer.Gliffy_Printer-class.html#__init__,Method jld.backup.gliffy_printer.Gliffy_Printer_Config.__init__()=jld.backup.gliffy_printer.Gliffy_Printer_Config-class.html#__init__,Method jld.backup.gliffy_printer.Gliffy_Printer_Diagrams.__init__()=jld.backup.gliffy_printer.Gliffy_Printer_Diagrams-class.html#__init__,Method jld.backup.mindmeister_backup.Backup.__init__()=jld.backup.mindmeister_backup.Backup-class.html#__init__,Method jld.backup.mindmeister_db.Db.__init__()=jld.backup.mindmeister_db.Db-class.html#__init__,Method jld.backup.mindmeister_defaults.MM_Defaults.__init__()=jld.backup.mindmeister_defaults.MM_Defaults-class.html#__init__,Method jld.backup.mindmeister_messages.MM_Messages.__init__()=jld.backup.mindmeister_messages.MM_Messages-class.html#__init__,Method jld.backup.mindmeister_printer.MM_Printer.__init__()=jld.backup.mindmeister_printer.MM_Printer-class.html#__init__,Method jld.backup.mindmeister_printer.MM_Printer_Config.__init__()=jld.backup.mindmeister_printer.MM_Printer_Config-class.html#__init__,Method jld.backup.mindmeister_printer.MM_Printer_Export.__init__()=jld.backup.mindmeister_printer.MM_Printer_Export-class.html#__init__,Method jld.backup.mindmeister_printer.MM_Printer_Maps.__init__()=jld.backup.mindmeister_printer.MM_Printer_Maps-class.html#__init__,Method jld.backup.mmd.mmdCmd.__init__()=jld.backup.mmd.mmdCmd-class.html#__init__,Method jld.backup.mmd.mmdDaemon.__init__()=jld.backup.mmd.mmdDaemon-class.html#__init__,Method jld.backup.mmd.mmdMessages.__init__()=jld.backup.mmd.mmdMessages-class.html#__init__,Method jld.cmd.BaseCmd.__init__()=jld.cmd.BaseCmd-class.html#__init__,Method jld.gdata.docs.RawDoc.__init__()=jld.gdata.docs.RawDoc-class.html#__init__,Method jld.gdata.docs.ResultDoc.__init__()=jld.gdata.docs.ResultDoc-class.html#__init__,Method jld.registry.Registry.__init__()=jld.registry.Registry-class.html#__init__,Method jld.registry.exception.RegistryException.__init__()=jld.registry.exception.RegistryException-class.html#__init__,Method jld.registry.linux.LinuxRegistry.__init__()=jld.registry.linux.LinuxRegistry-class.html#__init__,Method jld.registry.windows.WindowsRegistry.__init__()=jld.registry.windows.WindowsRegistry-class.html#__init__,Method jld.template.Tpl.__init__()=jld.template.Tpl-class.html#__init__,Method jld.tools.cmd_ui.UIBase.__init__()=jld.tools.cmd_ui.UIBase-class.html#__init__,Method jld.tools.daemon.BaseDaemon.__init__()=jld.tools.daemon.BaseDaemon-class.html#__init__,Method jld.tools.db.BaseSQLObjectDb.__init__()=jld.tools.db.BaseSQLObjectDb-class.html#__init__,Method jld.tools.db.BaseSQLObjectDb2.__init__()=jld.tools.db.BaseSQLObjectDb2-class.html#__init__,Method jld.tools.defaults.Defaults.__init__()=jld.tools.defaults.Defaults-class.html#__init__,Method jld.tools.messages.Messages.__init__()=jld.tools.messages.Messages-class.html#__init__,Method jld.tools.printer.BasePrettyPrinter.__init__()=jld.tools.printer.BasePrettyPrinter-class.html#__init__,Method jld.tools.template.ExTemplate.__init__()=jld.tools.template.ExTemplate-class.html#__init__"><a title="jld.api.ErrorGeneric.__init__
jld.api.delicious.Api.__init__
jld.api.delicious.Client.__init__
jld.api.delicious.Waiter.__init__
jld.api.mindmeister.MM.__init__
jld.api.mindmeister.MM_Client.__init__
jld.api.mindmeister_response.MM_ResponseBase.__init__
jld.api.mindmeister_response.MM_ResponseBasic.__init__
jld.api.mindmeister_response.MM_Response_getAuthToken.__init__
jld.api.mindmeister_response.MM_Response_getFrob.__init__
jld.api.mindmeister_response.MM_Response_getList.__init__
jld.api.mindmeister_response.MM_Response_getMapExport.__init__
jld.backup.delicious_backup.Backup.__init__
jld.backup.delicious_db.Db.__init__
jld.backup.delicious_defaults.Delicious_Defaults.__init__
jld.backup.delicious_messages.Delicious_Messages.__init__
jld.backup.delicious_printer.Delicious_Printer.__init__
jld.backup.delicious_printer.Delicious_Printer_Config.__init__
jld.backup.delicious_printer.Delicious_Printer_Posts.__init__
jld.backup.gliffy_backup.Backup.__init__
jld.backup.gliffy_db.Db.__init__
jld.backup.gliffy_defaults.Gliffy_Defaults.__init__
jld.backup.gliffy_messages.Gliffy_Messages.__init__
jld.backup.gliffy_printer.Gliffy_Printer.__init__
jld.backup.gliffy_printer.Gliffy_Printer_Config.__init__
jld.backup.gliffy_printer.Gliffy_Printer_Diagrams.__init__
jld.backup.mindmeister_backup.Backup.__init__
jld.backup.mindmeister_db.Db.__init__
jld.backup.mindmeister_defaults.MM_Defaults.__init__
jld.backup.mindmeister_messages.MM_Messages.__init__
jld.backup.mindmeister_printer.MM_Printer.__init__
jld.backup.mindmeister_printer.MM_Printer_Config.__init__
jld.backup.mindmeister_printer.MM_Printer_Export.__init__
jld.backup.mindmeister_printer.MM_Printer_Maps.__init__
jld.backup.mmd.mmdCmd.__init__
jld.backup.mmd.mmdDaemon.__init__
jld.backup.mmd.mmdMessages.__init__
jld.cmd.BaseCmd.__init__
jld.gdata.docs.RawDoc.__init__
jld.gdata.docs.ResultDoc.__init__
jld.registry.Registry.__init__
jld.registry.exception.RegistryException.__init__
jld.registry.linux.LinuxRegistry.__init__
jld.registry.windows.WindowsRegistry.__init__
jld.template.Tpl.__init__
jld.tools.cmd_ui.UIBase.__init__
jld.tools.daemon.BaseDaemon.__init__
jld.tools.db.BaseSQLObjectDb.__init__
jld.tools.db.BaseSQLObjectDb2.__init__
jld.tools.defaults.Defaults.__init__
jld.tools.messages.Messages.__init__
jld.tools.printer.BasePrettyPrinter.__init__
jld.tools.template.ExTemplate.__init__" class="py-name" href="#" onclick="return doclink('link-32', '__init__', 'link-32');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">         </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name"><a title="jld.api.delicious
jld.backup.delicious" class="py-name" href="#" onclick="return doclink('link-33', 'delicious', 'link-17');">delicious</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name" targets="Module jld.tools.logger=jld.tools.logger-module.html,Function jld.tools.logger.logger()=jld.tools.logger-module.html#logger"><a title="jld.tools.logger
jld.tools.logger.logger" class="py-name" href="#" onclick="return doclink('link-34', 'logger', 'link-34');">logger</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">quiet</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">db_path</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt>         </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="jld.tools.db" class="py-name" href="#" onclick="return doclink('link-35', 'db', 'link-28');">db</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-36" class="py-name" targets="Variable jld.backup.delicious_db.Updates.username=jld.backup.delicious_db.Updates-class.html#username"><a title="jld.backup.delicious_db.Updates.username" class="py-name" href="#" onclick="return doclink('link-36', 'username', 'link-36');">username</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">password</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">         </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">msgs</tt> <tt class="py-op">=</tt> <tt class="py-name">msg</tt><tt class="py-op">.</tt><tt id="link-37" class="py-name" targets="Class jld.backup.delicious_messages.Delicious_Messages=jld.backup.delicious_messages.Delicious_Messages-class.html"><a title="jld.backup.delicious_messages.Delicious_Messages" class="py-name" href="#" onclick="return doclink('link-37', 'Delicious_Messages', 'link-37');">Delicious_Messages</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">r</tt> <tt class="py-op">=</tt> <tt id="link-38" class="py-name"><a title="jld.registry.Registry.reg" class="py-name" href="#" onclick="return doclink('link-38', 'reg', 'link-10');">reg</a></tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Class jld.registry.Registry=jld.registry.Registry-class.html"><a title="jld.registry.Registry" class="py-name" href="#" onclick="return doclink('link-39', 'Registry', 'link-39');">Registry</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line"> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">    <tt class="py-comment"># =========================================================</tt> </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-comment"># COMMANDS</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-comment"># =========================================================</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line"><tt class="py-comment"></tt>         </tt>
<a name="Backup.cmd_listconfig"></a><div id="Backup.cmd_listconfig-def"><a name="L56"></a><tt class="py-lineno"> 56</tt> <a class="py-toggle" href="#" id="Backup.cmd_listconfig-toggle" onclick="return toggle('Backup.cmd_listconfig');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#cmd_listconfig">cmd_listconfig</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup.cmd_listconfig-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup.cmd_listconfig-expanded"><a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">        <tt class="py-docstring">"""Lists the configuration"""</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">        <tt class="py-name">pp</tt> <tt class="py-op">=</tt> <tt id="link-40" class="py-name"><a title="jld.tools.printer" class="py-name" href="#" onclick="return doclink('link-40', 'printer', 'link-24');">printer</a></tt><tt class="py-op">.</tt><tt id="link-41" class="py-name" targets="Class jld.backup.delicious_printer.Delicious_Printer_Config=jld.backup.delicious_printer.Delicious_Printer_Config-class.html"><a title="jld.backup.delicious_printer.Delicious_Printer_Config" class="py-name" href="#" onclick="return doclink('link-41', 'Delicious_Printer_Config', 'link-41');">Delicious_Printer_Config</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">msgs</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt> <tt class="py-op">)</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">quiet</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">            <tt class="py-name">pp</tt><tt class="py-op">.</tt><tt id="link-42" class="py-name" targets="Method jld.backup.mmd.mmdDaemon.run()=jld.backup.mmd.mmdDaemon-class.html#run,Method jld.tools.daemon.BaseDaemon.run()=jld.tools.daemon.BaseDaemon-class.html#run,Method jld.tools.printer.BasePrettyPrinter.run()=jld.tools.printer.BasePrettyPrinter-class.html#run"><a title="jld.backup.mmd.mmdDaemon.run
jld.tools.daemon.BaseDaemon.run
jld.tools.printer.BasePrettyPrinter.run" class="py-name" href="#" onclick="return doclink('link-42', 'run', 'link-42');">run</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt> <tt class="py-op">)</tt> </tt>
</div><a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">     </tt>
<a name="Backup.cmd_llatest"></a><div id="Backup.cmd_llatest-def"><a name="L62"></a><tt class="py-lineno"> 62</tt> <a class="py-toggle" href="#" id="Backup.cmd_llatest-toggle" onclick="return toggle('Backup.cmd_llatest');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#cmd_llatest">cmd_llatest</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup.cmd_llatest-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup.cmd_llatest-expanded"><a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-docstring">"""Displays the latest update timestamp recorded in the database (logged)"""</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name" targets="Method jld.backup.delicious_backup.Backup._validateAuthParams()=jld.backup.delicious_backup.Backup-class.html#_validateAuthParams"><a title="jld.backup.delicious_backup.Backup._validateAuthParams" class="py-name" href="#" onclick="return doclink('link-43', '_validateAuthParams', 'link-43');">_validateAuthParams</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">        <tt id="link-44" class="py-name" targets="Variable jld.backup.delicious_db.Updates.last=jld.backup.delicious_db.Updates-class.html#last"><a title="jld.backup.delicious_db.Updates.last" class="py-name" href="#" onclick="return doclink('link-44', 'last', 'link-44');">last</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name" targets="Method jld.backup.delicious_backup.Backup._llatest()=jld.backup.delicious_backup.Backup-class.html#_llatest"><a title="jld.backup.delicious_backup.Backup._llatest" class="py-name" href="#" onclick="return doclink('link-45', '_llatest', 'link-45');">_llatest</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">quiet</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">            <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">msgs</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name" targets="Method jld.template.Tpl.render()=jld.template.Tpl-class.html#render,Method jld.tools.messages.Messages.render()=jld.tools.messages.Messages-class.html#render"><a title="jld.template.Tpl.render
jld.tools.messages.Messages.render" class="py-name" href="#" onclick="return doclink('link-46', 'render', 'link-46');">render</a></tt><tt class="py-op">(</tt><tt class="py-string">'report_local_update'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'time'</tt><tt class="py-op">:</tt><tt id="link-47" class="py-name"><a title="jld.backup.delicious_db.Updates.last" class="py-name" href="#" onclick="return doclink('link-47', 'last', 'link-44');">last</a></tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="jld.tools.logger
jld.tools.logger.logger" class="py-name" href="#" onclick="return doclink('link-48', 'logger', 'link-34');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
</div><a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">         </tt>
<a name="Backup.cmd_rlatest"></a><div id="Backup.cmd_rlatest-def"><a name="L70"></a><tt class="py-lineno"> 70</tt> <a class="py-toggle" href="#" id="Backup.cmd_rlatest-toggle" onclick="return toggle('Backup.cmd_rlatest');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#cmd_rlatest">cmd_rlatest</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup.cmd_rlatest-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup.cmd_rlatest-expanded"><a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt class="py-docstring">"""Displays the latest update timestamp from Delicious"""</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-49" class="py-name"><a title="jld.backup.delicious_backup.Backup._validateAuthParams" class="py-name" href="#" onclick="return doclink('link-49', '_validateAuthParams', 'link-43');">_validateAuthParams</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-50" class="py-name" targets="Method jld.backup.delicious_backup.Backup._initDelicious()=jld.backup.delicious_backup.Backup-class.html#_initDelicious"><a title="jld.backup.delicious_backup.Backup._initDelicious" class="py-name" href="#" onclick="return doclink('link-50', '_initDelicious', 'link-50');">_initDelicious</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">        <tt id="link-51" class="py-name"><a title="jld.backup.delicious_db.Updates.last" class="py-name" href="#" onclick="return doclink('link-51', 'last', 'link-44');">last</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-52" class="py-name"><a title="jld.api.delicious
jld.backup.delicious" class="py-name" href="#" onclick="return doclink('link-52', 'delicious', 'link-17');">delicious</a></tt><tt class="py-op">.</tt><tt id="link-53" class="py-name" targets="Method jld.api.delicious.Client.getLastUpdate()=jld.api.delicious.Client-class.html#getLastUpdate"><a title="jld.api.delicious.Client.getLastUpdate" class="py-name" href="#" onclick="return doclink('link-53', 'getLastUpdate', 'link-53');">getLastUpdate</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">quiet</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">            <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">msgs</tt><tt class="py-op">.</tt><tt id="link-54" class="py-name"><a title="jld.template.Tpl.render
jld.tools.messages.Messages.render" class="py-name" href="#" onclick="return doclink('link-54', 'render', 'link-46');">render</a></tt><tt class="py-op">(</tt><tt class="py-string">'report_remote_update'</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'time'</tt><tt class="py-op">:</tt><tt id="link-55" class="py-name"><a title="jld.backup.delicious_db.Updates.last" class="py-name" href="#" onclick="return doclink('link-55', 'last', 'link-44');">last</a></tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">            <tt class="py-keyword">print</tt> <tt class="py-name">msg</tt> </tt>
</div><a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">     </tt>
<a name="Backup.cmd_updatedb"></a><div id="Backup.cmd_updatedb-def"><a name="L79"></a><tt class="py-lineno"> 79</tt> <a class="py-toggle" href="#" id="Backup.cmd_updatedb-toggle" onclick="return toggle('Backup.cmd_updatedb');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#cmd_updatedb">cmd_updatedb</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup.cmd_updatedb-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup.cmd_updatedb-expanded"><a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">        <tt class="py-docstring">"""Updates the local database with the most recent entries (logged)"""</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">        <tt class="py-name">remote</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name" targets="Method jld.backup.delicious_backup.Backup._getRemoteUpdate()=jld.backup.delicious_backup.Backup-class.html#_getRemoteUpdate"><a title="jld.backup.delicious_backup.Backup._getRemoteUpdate" class="py-name" href="#" onclick="return doclink('link-56', '_getRemoteUpdate', 'link-56');">_getRemoteUpdate</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">         </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name" targets="Method jld.backup.delicious_backup.Backup._shouldUpdate()=jld.backup.delicious_backup.Backup-class.html#_shouldUpdate"><a title="jld.backup.delicious_backup.Backup._shouldUpdate" class="py-name" href="#" onclick="return doclink('link-57', '_shouldUpdate', 'link-57');">_shouldUpdate</a></tt><tt class="py-op">(</tt><tt class="py-name">remote</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">            <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">msgs</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name"><a title="jld.template.Tpl.render
jld.tools.messages.Messages.render" class="py-name" href="#" onclick="return doclink('link-58', 'render', 'link-46');">render</a></tt><tt class="py-op">(</tt><tt class="py-string">'report_update_none'</tt><tt class="py-op">)</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-59" class="py-name"><a title="jld.tools.logger
jld.tools.logger.logger" class="py-name" href="#" onclick="return doclink('link-59', 'logger', 'link-34');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">         </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">        <tt class="py-name">posts</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name"><a title="jld.api.delicious
jld.backup.delicious" class="py-name" href="#" onclick="return doclink('link-60', 'delicious', 'link-17');">delicious</a></tt><tt class="py-op">.</tt><tt id="link-61" class="py-name" targets="Method jld.api.delicious.Client.getRecentPosts()=jld.api.delicious.Client-class.html#getRecentPosts"><a title="jld.api.delicious.Client.getRecentPosts" class="py-name" href="#" onclick="return doclink('link-61', 'getRecentPosts', 'link-61');">getRecentPosts</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-62" class="py-name" targets="Method jld.backup.delicious_backup.Backup._doUpdate()=jld.backup.delicious_backup.Backup-class.html#_doUpdate"><a title="jld.backup.delicious_backup.Backup._doUpdate" class="py-name" href="#" onclick="return doclink('link-62', '_doUpdate', 'link-62');">_doUpdate</a></tt><tt class="py-op">(</tt><tt class="py-name">posts</tt><tt class="py-op">,</tt> <tt class="py-name">remote</tt><tt class="py-op">,</tt> <tt class="py-string">'report_updatedb'</tt><tt class="py-op">,</tt> <tt class="py-name">False</tt><tt class="py-op">)</tt>   <tt class="py-comment">#don't update Updates table, only the Posts table</tt> </tt>
</div><a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">     </tt>
<a name="Backup.cmd_updatedbfull"></a><div id="Backup.cmd_updatedbfull-def"><a name="L91"></a><tt class="py-lineno"> 91</tt> <a class="py-toggle" href="#" id="Backup.cmd_updatedbfull-toggle" onclick="return toggle('Backup.cmd_updatedbfull');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#cmd_updatedbfull">cmd_updatedbfull</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup.cmd_updatedbfull-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup.cmd_updatedbfull-expanded"><a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">        <tt class="py-docstring">""" Updates the local database with complete remote data (logged)"""</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">        <tt class="py-name">remote</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-63" class="py-name"><a title="jld.backup.delicious_backup.Backup._getRemoteUpdate" class="py-name" href="#" onclick="return doclink('link-63', '_getRemoteUpdate', 'link-56');">_getRemoteUpdate</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">         </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-64" class="py-name"><a title="jld.backup.delicious_backup.Backup._shouldUpdate" class="py-name" href="#" onclick="return doclink('link-64', '_shouldUpdate', 'link-57');">_shouldUpdate</a></tt><tt class="py-op">(</tt><tt class="py-name">remote</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">            <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">msgs</tt><tt class="py-op">.</tt><tt id="link-65" class="py-name"><a title="jld.template.Tpl.render
jld.tools.messages.Messages.render" class="py-name" href="#" onclick="return doclink('link-65', 'render', 'link-46');">render</a></tt><tt class="py-op">(</tt><tt class="py-string">'report_update_none'</tt><tt class="py-op">)</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="jld.tools.logger
jld.tools.logger.logger" class="py-name" href="#" onclick="return doclink('link-66', 'logger', 'link-34');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line"> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">        <tt class="py-name">posts</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-67" class="py-name"><a title="jld.api.delicious
jld.backup.delicious" class="py-name" href="#" onclick="return doclink('link-67', 'delicious', 'link-17');">delicious</a></tt><tt class="py-op">.</tt><tt id="link-68" class="py-name" targets="Method jld.api.delicious.Client.getPostsAll()=jld.api.delicious.Client-class.html#getPostsAll"><a title="jld.api.delicious.Client.getPostsAll" class="py-name" href="#" onclick="return doclink('link-68', 'getPostsAll', 'link-68');">getPostsAll</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-69" class="py-name"><a title="jld.backup.delicious_backup.Backup._doUpdate" class="py-name" href="#" onclick="return doclink('link-69', '_doUpdate', 'link-62');">_doUpdate</a></tt><tt class="py-op">(</tt><tt class="py-name">posts</tt><tt class="py-op">,</tt> <tt class="py-name">remote</tt><tt class="py-op">,</tt> <tt class="py-string">'report_updatedbfull'</tt> <tt class="py-op">)</tt> </tt>
</div><a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">         </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">     </tt>
<a name="Backup.cmd_listdb"></a><div id="Backup.cmd_listdb-def"><a name="L104"></a><tt class="py-lineno">104</tt> <a class="py-toggle" href="#" id="Backup.cmd_listdb-toggle" onclick="return toggle('Backup.cmd_listdb');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#cmd_listdb">cmd_listdb</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup.cmd_listdb-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup.cmd_listdb-expanded"><a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">        <tt class="py-docstring">""" Lists the current entries in the database, optional filter by tag"""</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt>    <tt id="link-70" class="py-name" targets="Variable jld.backup.delicious_db.Posts.tag=jld.backup.delicious_db.Posts-class.html#tag"><a title="jld.backup.delicious_db.Posts.tag" class="py-name" href="#" onclick="return doclink('link-70', 'tag', 'link-70');">tag</a></tt> <tt class="py-op">=</tt> <tt class="py-name">args</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt><tt class="py-op">:</tt> <tt id="link-71" class="py-name"><a title="jld.backup.delicious_db.Posts.tag" class="py-name" href="#" onclick="return doclink('link-71', 'tag', 'link-70');">tag</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">         </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-72" class="py-name" targets="Method jld.backup.delicious_backup.Backup._initDb()=jld.backup.delicious_backup.Backup-class.html#_initDb,Method jld.backup.gliffy_backup.Backup._initDb()=jld.backup.gliffy_backup.Backup-class.html#_initDb,Method jld.backup.mindmeister_backup.Backup._initDb()=jld.backup.mindmeister_backup.Backup-class.html#_initDb"><a title="jld.backup.delicious_backup.Backup._initDb
jld.backup.gliffy_backup.Backup._initDb
jld.backup.mindmeister_backup.Backup._initDb" class="py-name" href="#" onclick="return doclink('link-72', '_initDb', 'link-72');">_initDb</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">        <tt class="py-name">all</tt> <tt class="py-op">=</tt> <tt id="link-73" class="py-name"><a title="jld.tools.db" class="py-name" href="#" onclick="return doclink('link-73', 'db', 'link-28');">db</a></tt><tt class="py-op">.</tt><tt id="link-74" class="py-name" targets="Function jld.api.delicious_objects.Posts()=jld.api.delicious_objects-module.html#Posts,Class jld.backup.delicious_db.Posts=jld.backup.delicious_db.Posts-class.html"><a title="jld.api.delicious_objects.Posts
jld.backup.delicious_db.Posts" class="py-name" href="#" onclick="return doclink('link-74', 'Posts', 'link-74');">Posts</a></tt><tt class="py-op">.</tt><tt id="link-75" class="py-name" targets="Class Method jld.backup.delicious_db.Posts.getAll()=jld.backup.delicious_db.Posts-class.html#getAll,Class Method jld.backup.gliffy_db.Diagrams.getAll()=jld.backup.gliffy_db.Diagrams-class.html#getAll,Class Method jld.backup.mindmeister_db.Maps.getAll()=jld.backup.mindmeister_db.Maps-class.html#getAll"><a title="jld.backup.delicious_db.Posts.getAll
jld.backup.gliffy_db.Diagrams.getAll
jld.backup.mindmeister_db.Maps.getAll" class="py-name" href="#" onclick="return doclink('link-75', 'getAll', 'link-75');">getAll</a></tt><tt class="py-op">(</tt><tt id="link-76" class="py-name"><a title="jld.backup.delicious_db.Posts.tag" class="py-name" href="#" onclick="return doclink('link-76', 'tag', 'link-70');">tag</a></tt><tt class="py-op">)</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">         </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">        <tt class="py-name">pp</tt> <tt class="py-op">=</tt> <tt id="link-77" class="py-name"><a title="jld.tools.printer" class="py-name" href="#" onclick="return doclink('link-77', 'printer', 'link-24');">printer</a></tt><tt class="py-op">.</tt><tt id="link-78" class="py-name" targets="Class jld.backup.delicious_printer.Delicious_Printer_Posts=jld.backup.delicious_printer.Delicious_Printer_Posts-class.html"><a title="jld.backup.delicious_printer.Delicious_Printer_Posts" class="py-name" href="#" onclick="return doclink('link-78', 'Delicious_Printer_Posts', 'link-78');">Delicious_Printer_Posts</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">msgs</tt> <tt class="py-op">)</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">quiet</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">            <tt class="py-name">pp</tt><tt class="py-op">.</tt><tt id="link-79" class="py-name"><a title="jld.backup.mmd.mmdDaemon.run
jld.tools.daemon.BaseDaemon.run
jld.tools.printer.BasePrettyPrinter.run" class="py-name" href="#" onclick="return doclink('link-79', 'run', 'link-42');">run</a></tt><tt class="py-op">(</tt> <tt class="py-name">all</tt> <tt class="py-op">)</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">            <tt class="py-keyword">print</tt> <tt class="py-string">"total[%s]"</tt> <tt class="py-op">%</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">all</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">     </tt>
<a name="Backup.cmd_deletedb"></a><div id="Backup.cmd_deletedb-def"><a name="L117"></a><tt class="py-lineno">117</tt> <a class="py-toggle" href="#" id="Backup.cmd_deletedb-toggle" onclick="return toggle('Backup.cmd_deletedb');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#cmd_deletedb">cmd_deletedb</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup.cmd_deletedb-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup.cmd_deletedb-expanded"><a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">        <tt class="py-docstring">"""Deletes the database"""</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-80" class="py-name" targets="Method jld.backup.delicious_backup.Backup._deleteDb()=jld.backup.delicious_backup.Backup-class.html#_deleteDb,Method jld.backup.gliffy_backup.Backup._deleteDb()=jld.backup.gliffy_backup.Backup-class.html#_deleteDb,Method jld.backup.mindmeister_backup.Backup._deleteDb()=jld.backup.mindmeister_backup.Backup-class.html#_deleteDb"><a title="jld.backup.delicious_backup.Backup._deleteDb
jld.backup.gliffy_backup.Backup._deleteDb
jld.backup.mindmeister_backup.Backup._deleteDb" class="py-name" href="#" onclick="return doclink('link-80', '_deleteDb', 'link-80');">_deleteDb</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">         </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">    <tt class="py-comment"># =========================================================</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-comment"># HELPERS</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-comment"># =========================================================</tt> </tt>
<a name="Backup._doUpdate"></a><div id="Backup._doUpdate-def"><a name="L124"></a><tt class="py-lineno">124</tt> <a class="py-toggle" href="#" id="Backup._doUpdate-toggle" onclick="return toggle('Backup._doUpdate');">-</a><tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#_doUpdate">_doUpdate</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">list</tt><tt class="py-op">,</tt> <tt class="py-param">remote</tt><tt class="py-op">,</tt> <tt class="py-param">msg</tt><tt class="py-op">,</tt> <tt class="py-param">record_last</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup._doUpdate-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup._doUpdate-expanded"><a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">        <tt class="py-docstring">""" Performs an update cycle """</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line">        <tt class="py-name">total</tt><tt class="py-op">,</tt> <tt class="py-name">updated</tt><tt class="py-op">,</tt> <tt id="link-81" class="py-name" targets="Variable jld.backup.mindmeister_db.Maps.created=jld.backup.mindmeister_db.Maps-class.html#created"><a title="jld.backup.mindmeister_db.Maps.created" class="py-name" href="#" onclick="return doclink('link-81', 'created', 'link-81');">created</a></tt> <tt class="py-op">=</tt> <tt id="link-82" class="py-name"><a title="jld.tools.db" class="py-name" href="#" onclick="return doclink('link-82', 'db', 'link-28');">db</a></tt><tt class="py-op">.</tt><tt id="link-83" class="py-name"><a title="jld.api.delicious_objects.Posts
jld.backup.delicious_db.Posts" class="py-name" href="#" onclick="return doclink('link-83', 'Posts', 'link-74');">Posts</a></tt><tt class="py-op">.</tt><tt id="link-84" class="py-name" targets="Class Method jld.backup.delicious_db.Posts.updateFromList()=jld.backup.delicious_db.Posts-class.html#updateFromList,Class Method jld.backup.gliffy_db.Diagrams.updateFromList()=jld.backup.gliffy_db.Diagrams-class.html#updateFromList,Class Method jld.backup.mindmeister_db.Maps.updateFromList()=jld.backup.mindmeister_db.Maps-class.html#updateFromList"><a title="jld.backup.delicious_db.Posts.updateFromList
jld.backup.gliffy_db.Diagrams.updateFromList
jld.backup.mindmeister_db.Maps.updateFromList" class="py-name" href="#" onclick="return doclink('link-84', 'updateFromList', 'link-84');">updateFromList</a></tt><tt class="py-op">(</tt> <tt class="py-name">list</tt> <tt class="py-op">)</tt> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">record_last</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">            <tt id="link-85" class="py-name"><a title="jld.tools.db" class="py-name" href="#" onclick="return doclink('link-85', 'db', 'link-28');">db</a></tt><tt class="py-op">.</tt><tt id="link-86" class="py-name" targets="Class jld.backup.delicious_db.Updates=jld.backup.delicious_db.Updates-class.html"><a title="jld.backup.delicious_db.Updates" class="py-name" href="#" onclick="return doclink('link-86', 'Updates', 'link-86');">Updates</a></tt><tt class="py-op">.</tt><tt id="link-87" class="py-name" targets="Class Method jld.backup.delicious_db.Updates.update()=jld.backup.delicious_db.Updates-class.html#update"><a title="jld.backup.delicious_db.Updates.update" class="py-name" href="#" onclick="return doclink('link-87', 'update', 'link-87');">update</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name"><a title="jld.backup.delicious_db.Updates.username" class="py-name" href="#" onclick="return doclink('link-88', 'username', 'link-36');">username</a></tt><tt class="py-op">,</tt> <tt class="py-name">remote</tt> <tt class="py-op">)</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">quiet</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">            <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">msgs</tt><tt class="py-op">.</tt><tt id="link-89" class="py-name"><a title="jld.template.Tpl.render
jld.tools.messages.Messages.render" class="py-name" href="#" onclick="return doclink('link-89', 'render', 'link-46');">render</a></tt><tt class="py-op">(</tt> <tt class="py-name">msg</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'total'</tt><tt class="py-op">:</tt><tt class="py-name">total</tt><tt class="py-op">,</tt> <tt class="py-string">'updated'</tt><tt class="py-op">:</tt><tt class="py-name">updated</tt><tt class="py-op">,</tt> <tt class="py-string">'created'</tt><tt class="py-op">:</tt><tt id="link-90" class="py-name"><a title="jld.backup.mindmeister_db.Maps.created" class="py-name" href="#" onclick="return doclink('link-90', 'created', 'link-81');">created</a></tt> <tt class="py-op">}</tt> <tt class="py-op">)</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-91" class="py-name"><a title="jld.tools.logger
jld.tools.logger.logger" class="py-name" href="#" onclick="return doclink('link-91', 'logger', 'link-34');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
</div><a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">         </tt>
<a name="Backup._getRemoteUpdate"></a><div id="Backup._getRemoteUpdate-def"><a name="L133"></a><tt class="py-lineno">133</tt> <a class="py-toggle" href="#" id="Backup._getRemoteUpdate-toggle" onclick="return toggle('Backup._getRemoteUpdate');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#_getRemoteUpdate">_getRemoteUpdate</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup._getRemoteUpdate-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup._getRemoteUpdate-expanded"><a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">        <tt class="py-docstring">""" Gets the remote update status """</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt>    <tt class="py-name">remote</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-92" class="py-name" targets="Method jld.backup.delicious_backup.Backup._rlatest()=jld.backup.delicious_backup.Backup-class.html#_rlatest"><a title="jld.backup.delicious_backup.Backup._rlatest" class="py-name" href="#" onclick="return doclink('link-92', '_rlatest', 'link-92');">_rlatest</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt><tt class="py-op">:</tt> <tt class="py-name">remote</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">         </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">remote</tt> </tt>
</div><a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">         </tt>
<a name="Backup._shouldUpdate"></a><div id="Backup._shouldUpdate-def"><a name="L140"></a><tt class="py-lineno">140</tt> <a class="py-toggle" href="#" id="Backup._shouldUpdate-toggle" onclick="return toggle('Backup._shouldUpdate');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#_shouldUpdate">_shouldUpdate</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">remote</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup._shouldUpdate-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup._shouldUpdate-expanded"><a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">        <tt class="py-docstring">""" Verifies if an update is in order """</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">        <tt class="py-name">local</tt>  <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-93" class="py-name"><a title="jld.backup.delicious_backup.Backup._llatest" class="py-name" href="#" onclick="return doclink('link-93', '_llatest', 'link-45');">_llatest</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt>        </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">local</tt> <tt class="py-op">!=</tt> <tt class="py-name">remote</tt><tt class="py-op">)</tt> </tt>
</div><a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">         </tt>
<a name="Backup._llatest"></a><div id="Backup._llatest-def"><a name="L145"></a><tt class="py-lineno">145</tt> <a class="py-toggle" href="#" id="Backup._llatest-toggle" onclick="return toggle('Backup._llatest');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#_llatest">_llatest</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup._llatest-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup._llatest-expanded"><a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">        <tt class="py-docstring">""" Local Last Update"""</tt> </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-94" class="py-name"><a title="jld.backup.delicious_backup.Backup._initDb
jld.backup.gliffy_backup.Backup._initDb
jld.backup.mindmeister_backup.Backup._initDb" class="py-name" href="#" onclick="return doclink('link-94', '_initDb', 'link-72');">_initDb</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">        <tt id="link-95" class="py-name"><a title="jld.backup.delicious_db.Updates.last" class="py-name" href="#" onclick="return doclink('link-95', 'last', 'link-44');">last</a></tt> <tt class="py-op">=</tt> <tt id="link-96" class="py-name"><a title="jld.tools.db" class="py-name" href="#" onclick="return doclink('link-96', 'db', 'link-28');">db</a></tt><tt class="py-op">.</tt><tt id="link-97" class="py-name"><a title="jld.backup.delicious_db.Updates" class="py-name" href="#" onclick="return doclink('link-97', 'Updates', 'link-86');">Updates</a></tt><tt class="py-op">.</tt><tt id="link-98" class="py-name" targets="Class Method jld.backup.delicious_db.Updates.getLatest()=jld.backup.delicious_db.Updates-class.html#getLatest"><a title="jld.backup.delicious_db.Updates.getLatest" class="py-name" href="#" onclick="return doclink('link-98', 'getLatest', 'link-98');">getLatest</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-99" class="py-name"><a title="jld.backup.delicious_db.Updates.username" class="py-name" href="#" onclick="return doclink('link-99', 'username', 'link-36');">username</a></tt> <tt class="py-op">)</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-100" class="py-name"><a title="jld.backup.delicious_db.Updates.last" class="py-name" href="#" onclick="return doclink('link-100', 'last', 'link-44');">last</a></tt> </tt>
</div><a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">     </tt>
<a name="Backup._rlatest"></a><div id="Backup._rlatest-def"><a name="L151"></a><tt class="py-lineno">151</tt> <a class="py-toggle" href="#" id="Backup._rlatest-toggle" onclick="return toggle('Backup._rlatest');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#_rlatest">_rlatest</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup._rlatest-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup._rlatest-expanded"><a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line">        <tt class="py-docstring">""" Remote Last Update """</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-101" class="py-name"><a title="jld.backup.delicious_backup.Backup._validateAuthParams" class="py-name" href="#" onclick="return doclink('link-101', '_validateAuthParams', 'link-43');">_validateAuthParams</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-102" class="py-name"><a title="jld.backup.delicious_backup.Backup._initDelicious" class="py-name" href="#" onclick="return doclink('link-102', '_initDelicious', 'link-50');">_initDelicious</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line">         </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">        <tt class="py-name">currentUpdate</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-103" class="py-name"><a title="jld.api.delicious
jld.backup.delicious" class="py-name" href="#" onclick="return doclink('link-103', 'delicious', 'link-17');">delicious</a></tt><tt class="py-op">.</tt><tt id="link-104" class="py-name"><a title="jld.api.delicious.Client.getLastUpdate" class="py-name" href="#" onclick="return doclink('link-104', 'getLastUpdate', 'link-53');">getLastUpdate</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">currentUpdate</tt> </tt>
</div><a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line">     </tt>
<a name="Backup._validateAuthParams"></a><div id="Backup._validateAuthParams-def"><a name="L159"></a><tt class="py-lineno">159</tt> <a class="py-toggle" href="#" id="Backup._validateAuthParams-toggle" onclick="return toggle('Backup._validateAuthParams');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#_validateAuthParams">_validateAuthParams</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup._validateAuthParams-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup._validateAuthParams-expanded"><a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">        <tt class="py-docstring">""" Performs basic validation of the authentication parameters """</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">         </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-105" class="py-name"><a title="jld.backup.delicious_db.Updates.username" class="py-name" href="#" onclick="return doclink('link-105', 'username', 'link-36');">username</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-106" class="py-name"><a title="jld.api" class="py-name" href="#" onclick="return doclink('link-106', 'api', 'link-3');">api</a></tt><tt class="py-op">.</tt><tt id="link-107" class="py-name" targets="Class jld.api.ErrorConfig=jld.api.ErrorConfig-class.html"><a title="jld.api.ErrorConfig" class="py-name" href="#" onclick="return doclink('link-107', 'ErrorConfig', 'link-107');">ErrorConfig</a></tt><tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'param'</tt><tt class="py-op">:</tt><tt class="py-string">'username'</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">         </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">password</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-108" class="py-name"><a title="jld.api" class="py-name" href="#" onclick="return doclink('link-108', 'api', 'link-3');">api</a></tt><tt class="py-op">.</tt><tt id="link-109" class="py-name"><a title="jld.api.ErrorConfig" class="py-name" href="#" onclick="return doclink('link-109', 'ErrorConfig', 'link-107');">ErrorConfig</a></tt><tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-string">'param'</tt><tt class="py-op">:</tt><tt class="py-string">'password'</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
</div><a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line"> </tt>
<a name="Backup._deleteDb"></a><div id="Backup._deleteDb-def"><a name="L168"></a><tt class="py-lineno">168</tt> <a class="py-toggle" href="#" id="Backup._deleteDb-toggle" onclick="return toggle('Backup._deleteDb');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#_deleteDb">_deleteDb</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup._deleteDb-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup._deleteDb-expanded"><a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">        <tt id="link-110" class="py-name" targets="Variable jld.api.delicious.path=jld.api.delicious-module.html#path,Variable jld.backup.delicious.path=jld.backup.delicious-module.html#path,Variable jld.backup.gliffy.path=jld.backup.gliffy-module.html#path,Variable jld.backup.mm.path=jld.backup.mm-module.html#path,Variable jld.backup.mmd.path=jld.backup.mmd-module.html#path"><a title="jld.api.delicious.path
jld.backup.delicious.path
jld.backup.gliffy.path
jld.backup.mm.path
jld.backup.mmd.path" class="py-name" href="#" onclick="return doclink('link-110', 'path', 'link-110');">path</a></tt> <tt class="py-op">=</tt> <tt id="link-111" class="py-name"><a title="jld.tools.mos" class="py-name" href="#" onclick="return doclink('link-111', 'mos', 'link-13');">mos</a></tt><tt class="py-op">.</tt><tt id="link-112" class="py-name" targets="Function jld.tools.mos.replaceHome()=jld.tools.mos-module.html#replaceHome"><a title="jld.tools.mos.replaceHome" class="py-name" href="#" onclick="return doclink('link-112', 'replaceHome', 'link-112');">replaceHome</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">db_path</tt> <tt class="py-op">)</tt> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">        <tt id="link-113" class="py-name"><a title="jld.tools.db" class="py-name" href="#" onclick="return doclink('link-113', 'db', 'link-28');">db</a></tt><tt class="py-op">.</tt><tt id="link-114" class="py-name" targets="Class jld.backup.delicious_db.Db=jld.backup.delicious_db.Db-class.html,Class jld.backup.gliffy_db.Db=jld.backup.gliffy_db.Db-class.html,Class jld.backup.mindmeister_db.Db=jld.backup.mindmeister_db.Db-class.html"><a title="jld.backup.delicious_db.Db
jld.backup.gliffy_db.Db
jld.backup.mindmeister_db.Db" class="py-name" href="#" onclick="return doclink('link-114', 'Db', 'link-114');">Db</a></tt><tt class="py-op">.</tt><tt id="link-115" class="py-name" targets="Class Method jld.tools.db.BaseSQLObjectDb.deleteDb()=jld.tools.db.BaseSQLObjectDb-class.html#deleteDb,Class Method jld.tools.db.BaseSQLObjectDb2.deleteDb()=jld.tools.db.BaseSQLObjectDb2-class.html#deleteDb"><a title="jld.tools.db.BaseSQLObjectDb.deleteDb
jld.tools.db.BaseSQLObjectDb2.deleteDb" class="py-name" href="#" onclick="return doclink('link-115', 'deleteDb', 'link-115');">deleteDb</a></tt><tt class="py-op">(</tt><tt id="link-116" class="py-name"><a title="jld.api.delicious.path
jld.backup.delicious.path
jld.backup.gliffy.path
jld.backup.mm.path
jld.backup.mmd.path" class="py-name" href="#" onclick="return doclink('link-116', 'path', 'link-110');">path</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">         </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">    <tt class="py-comment"># LAZY INITIALIZERS</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-comment"># =================</tt> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="Backup._initDelicious"></a><div id="Backup._initDelicious-def"><a name="L175"></a><tt class="py-lineno">175</tt> <a class="py-toggle" href="#" id="Backup._initDelicious-toggle" onclick="return toggle('Backup._initDelicious');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#_initDelicious">_initDelicious</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup._initDelicious-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup._initDelicious-expanded"><a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-117" class="py-name"><a title="jld.api.delicious
jld.backup.delicious" class="py-name" href="#" onclick="return doclink('link-117', 'delicious', 'link-17');">delicious</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-118" class="py-name"><a title="jld.api.delicious
jld.backup.delicious" class="py-name" href="#" onclick="return doclink('link-118', 'delicious', 'link-17');">delicious</a></tt> <tt class="py-op">=</tt> <tt class="py-name">dlc</tt><tt class="py-op">.</tt><tt id="link-119" class="py-name" targets="Class jld.api.delicious.Client=jld.api.delicious.Client-class.html,Class jld.api.gliffy.Client=jld.api.gliffy.Client-class.html"><a title="jld.api.delicious.Client
jld.api.gliffy.Client" class="py-name" href="#" onclick="return doclink('link-119', 'Client', 'link-119');">Client</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-120" class="py-name"><a title="jld.backup.delicious_db.Updates.username" class="py-name" href="#" onclick="return doclink('link-120', 'username', 'link-36');">username</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">password</tt><tt class="py-op">)</tt> </tt>
</div><a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line"> </tt>
<a name="Backup._initDb"></a><div id="Backup._initDb-def"><a name="L179"></a><tt class="py-lineno">179</tt> <a class="py-toggle" href="#" id="Backup._initDb-toggle" onclick="return toggle('Backup._initDb');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="jld.backup.delicious_backup.Backup-class.html#_initDb">_initDb</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Backup._initDb-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Backup._initDb-expanded"><a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-121" class="py-name"><a title="jld.tools.db" class="py-name" href="#" onclick="return doclink('link-121', 'db', 'link-28');">db</a></tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">            <tt id="link-122" class="py-name"><a title="jld.api.delicious.path
jld.backup.delicious.path
jld.backup.gliffy.path
jld.backup.mm.path
jld.backup.mmd.path" class="py-name" href="#" onclick="return doclink('link-122', 'path', 'link-110');">path</a></tt> <tt class="py-op">=</tt> <tt id="link-123" class="py-name"><a title="jld.tools.mos" class="py-name" href="#" onclick="return doclink('link-123', 'mos', 'link-13');">mos</a></tt><tt class="py-op">.</tt><tt id="link-124" class="py-name"><a title="jld.tools.mos.replaceHome" class="py-name" href="#" onclick="return doclink('link-124', 'replaceHome', 'link-112');">replaceHome</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">db_path</tt> <tt class="py-op">)</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-125" class="py-name"><a title="jld.tools.db" class="py-name" href="#" onclick="return doclink('link-125', 'db', 'link-28');">db</a></tt> <tt class="py-op">=</tt> <tt id="link-126" class="py-name"><a title="jld.tools.db" class="py-name" href="#" onclick="return doclink('link-126', 'db', 'link-28');">db</a></tt><tt class="py-op">.</tt><tt id="link-127" class="py-name"><a title="jld.backup.delicious_db.Db
jld.backup.gliffy_db.Db
jld.backup.mindmeister_db.Db" class="py-name" href="#" onclick="return doclink('link-127', 'Db', 'link-114');">Db</a></tt><tt class="py-op">(</tt> <tt id="link-128" class="py-name"><a title="jld.api.delicious.path
jld.backup.delicious.path
jld.backup.gliffy.path
jld.backup.mm.path
jld.backup.mmd.path" class="py-name" href="#" onclick="return doclink('link-128', 'path', 'link-110');">path</a></tt> <tt class="py-op">)</tt> </tt>
</div></div><a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="jld-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Tue Jan 06 22:12:08 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
